// const path = require('path');
const htmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
  entry: './src/main.js',
  output: {
    path: __dirname + "/dist",
    filename: 'my-first-webpack.bundle.js'
  },
  plugins:[
    new   htmlWebpackPlugin({
      title : '欢迎来到 webpack 新时空',
     
    })
  ]
};